//
//  YMSMember.h
//  yameishe3
//
//  Created by pro on 2017/3/2.
//  Copyright © 2017年 yameishe. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kLoginNotificationName @"LoginNotification"
#define kUserInfoChangedNotificationName @"UserInfoChangedNotificationO"

@interface YMSMember : NSObject

@property (nonatomic,retain) NSString* user_phone;
@property (nonatomic,retain) NSString* user_Eail;
@property (nonatomic,retain) NSNumber* rst;
@property (nonatomic,retain) NSNumber* userid;

@property (nonatomic,retain) NSString* password;
@property (nonatomic,retain) NSString* username;

@property (nonatomic,retain) NSString* nickname;
@property (nonatomic,retain) NSString* company_name;
@property (nonatomic,retain) NSString* contact_person;
@property (nonatomic,retain) NSString* user_QQ;


@property (nonatomic,retain) NSString* token;



+ (instancetype)loginMember;
+ (void)setLoginMember:(YMSMember*)loginMember;

+ (void)saveLoginMember;

+(instancetype)memberWithKeyValues:(NSDictionary *)keyValues;

-(instancetype)memberInitWithDic:(NSDictionary*)dic;
@end
